package com.hejia.alauda.entity;

import javax.persistence.Column;

/**
 * 推广类别
 * @author hyr
 *
 */
public class PopularizeCategory extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5426576317989814407L;
	
	@Column
	private PopularizeCategory bigger; // 稍大类别
	
	@Column
	private String name; // 名称
	
	@Column
	private Boolean isStopPopularize; // 是否停止推广

	public PopularizeCategory getBigger() {
		return bigger;
	}

	public void setBigger(PopularizeCategory bigger) {
		this.bigger = bigger;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public Boolean getIsStopPopularize() {
		if(this.isStopPopularize == null){
			return false;
		}
		return isStopPopularize;
	}

	public void setIsStopPopularize(Boolean isStopPopularize) {
		this.isStopPopularize = isStopPopularize;
	}
}
